#ifndef MAINAPP_H
#define MAINAPP_H

#include <QApplication>
#include "mainwindow.h"

class mainApplication : public QApplication
{
    Q_OBJECT

public:
    mainApplication(int &argc, char **argv);
    ~mainApplication();
    static mainApplication *instance();

    MainWindow *mainWindow();
//    QList<BrowserMainWindow*> mainWindows();

public slots:
    MainWindow *newMainWindow();

private slots:

private:
    QList<QPointer<MainWindow> > m_mainWindows;
};

#endif // MAINAPP_H
